package com.example.user.myhjjf_app.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by User on 2017/9/5.
 */

public class Model_zhcsg implements Serializable {

    /**
     * success : true
     * value : [{"id":"8a21459c5e0224b6015e3b112b9800b4","create_name":null,"create_by":null,"create_date":null,"update_name":null,"update_by":null,"update_date":null,"name":"vvv哇","port":"吵架","description":"规vv","site_id":"8a21459c5e0224b6015e1312c54d002c","position":1},{"id":"8a21459c5e0224b6015e3b44558e00b6","create_name":null,"create_by":null,"create_date":null,"update_name":null,"update_by":null,"update_date":null,"name":"抱抱你","port":"那边v","description":"好吧","site_id":"8a21459c5e0224b6015e1312c54d002c","position":2}]
     * exception : null
     */

    private boolean success;
    private Object exception;
    private List<ValueBean> value;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    public List<ValueBean> getValue() {
        return value;
    }

    public void setValue(List<ValueBean> value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Model_zhcsg{" +
                "success=" + success +
                ", exception=" + exception +
                ", value=" + value +
                '}';
    }

    public static class ValueBean implements Serializable{
        /**
         * id : 8a21459c5e0224b6015e3b112b9800b4
         * create_name : null
         * create_by : null
         * create_date : null
         * update_name : null
         * update_by : null
         * update_date : null
         * name : vvv哇
         * port : 吵架
         * description : 规vv
         * site_id : 8a21459c5e0224b6015e1312c54d002c
         * position : 1
         */

        private String id;
        private Object create_name;
        private Object create_by;
        private Object create_date;
        private Object update_name;
        private Object update_by;
        private Object update_date;
        private String name;
        private String port;
        private String description;
        private String site_id;
        private int position;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getCreate_name() {
            return create_name;
        }

        public void setCreate_name(Object create_name) {
            this.create_name = create_name;
        }

        public Object getCreate_by() {
            return create_by;
        }

        public void setCreate_by(Object create_by) {
            this.create_by = create_by;
        }

        public Object getCreate_date() {
            return create_date;
        }

        public void setCreate_date(Object create_date) {
            this.create_date = create_date;
        }

        public Object getUpdate_name() {
            return update_name;
        }

        public void setUpdate_name(Object update_name) {
            this.update_name = update_name;
        }

        public Object getUpdate_by() {
            return update_by;
        }

        public void setUpdate_by(Object update_by) {
            this.update_by = update_by;
        }

        public Object getUpdate_date() {
            return update_date;
        }

        public void setUpdate_date(Object update_date) {
            this.update_date = update_date;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPort() {
            return port;
        }

        public void setPort(String port) {
            this.port = port;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getSite_id() {
            return site_id;
        }

        public void setSite_id(String site_id) {
            this.site_id = site_id;
        }

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        @Override
        public String toString() {
            return "ValueBean{" +
                    "id='" + id + '\'' +
                    ", create_name=" + create_name +
                    ", create_by=" + create_by +
                    ", create_date=" + create_date +
                    ", update_name=" + update_name +
                    ", update_by=" + update_by +
                    ", update_date=" + update_date +
                    ", name='" + name + '\'' +
                    ", port='" + port + '\'' +
                    ", description='" + description + '\'' +
                    ", site_id='" + site_id + '\'' +
                    ", position=" + position +
                    '}';
        }
    }
}
